package com.itheima.pojo.threadlocal;

/**
 * @author ChenJunJie
 * @date 2022/6/24 16:54
 */
public class AuthThreadLocal {
    public static ThreadLocal<String> auth = new ThreadLocal<>();

    public static String getAuth(){
        return auth.get();
    }

    public static void setAuth(String value){
        auth.set(value);
    }

    public static void remove(){
        auth.remove();
    }
}
